__author__ = 'Administrator'
from testRunner.runner import TestInterfaceCase
import unittest
from testBaseOperate.BaseCaseList import *
result = {"info":[]}
result["test_module"] = "登陆模块"
result["test_success"] = 0
result["test_sum"] = 0
result["test_failed"] = 0
result["test_error"] = 0
class testHome(unittest.TestCase):
    def __init__(self,methodName=''):
        super(testHome, self).__init__(methodName)
        self.bc = BexceCase(result)
    @staticmethod
    def setUpClass():
        TestInterfaceCase.setUpClass()
    @staticmethod
    def tearDownClass():
        TestInterfaceCase.tearDownClass()
    def test_home_more_adv(self):
        self.bc.execCase(r'D:\appium\testcase\home\home_more_adv.yaml', test_id="2004", test_intr="首页广告", test_case="test_home_more_adv",isLast="1")